<template>
  <div class="app-container">
    <div class="page-filter mb10 fl">
      <el-row>
        <el-col :span="24">
          <el-tabs v-model="active" type="card" @tab-click="handleTabs">
            <el-tab-pane label="追加结算" name="1" />
            <el-tab-pane label="扣款结算" name="2" />
            <el-tab-pane label="付款申请" name="3" />
            <!-- <el-tab-pane label="设材支出凭单" name="4" />
            <el-tab-pane label="分包支出凭单" name="5" /> -->
          </el-tabs>
        </el-col>
        <el-col v-if="active === '1'" :span="24">
          <Additional :info="info" />
        </el-col>
        <el-col v-if="active === '2'" :span="24">
          <Reduction :info="info" />
        </el-col>
        <el-col v-if="active === '3'" :span="24">
          <Payments :info="info" />
        </el-col>
        <!-- <el-col v-if="active === '4'" :span="24">
          <Empay :info="info" />
        </el-col>
        <el-col v-if="active === '5'" :span="24">
          <Subpackage :info="info" />
        </el-col> -->
      </el-row>
    </div>
  </div>
</template>

<script>

import Additional from './components/expend/additional'
import Reduction from './components/income/reduction'
import Payments from './components/expend/payments'
// import Empay from './components/expend/empay'
// import Subpackage from './components/expend/subpackage'

export default {
  name: '',
  components: { Additional, Reduction, Payments },
  inject: ['app'],
  data() {
    return {
      active: '1',
      info: {}
    }
  },
  created() {
  },
  methods: {
    handleTabs(e) {
    }
  }
}
</script>
